package com.rceeslca.modules.job.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 定时任务日志
 * @author rceeslca
 */
@Data
@TableName("schedule_job_log")
public class ScheduleJobLogEntity implements Serializable {

    private static final long serialVersionUID = 3767963431344430135L;

    /**id**/
    @TableId
    private Long id;

    /**任务id**/
    private Long jobId;

    /**bean名称**/
    private String beanName;

    /**参数**/
    private String params;

    /**任务状态 0:失败 1:成功**/
    private Integer status;

    /**失败信息**/
    private String error;

    /**耗时(单位/毫秒)**/
    private Integer times;

    /**创建时间**/
    private Date createDate;

}
